﻿<Window x:Class="tiDE.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:ad="clr-namespace:AvalonDock;assembly=AvalonDock"
        Background="#D8EFFF"
        Title="tiDE" Width="900" Height="600" Icon="/tiDE;component/Images/tidesmall.ico">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
        </Grid.RowDefinitions>

        <!--Top Menu (Default Settings)-->
        <Menu Background="Transparent" Grid.Row="0" Height="23" HorizontalAlignment="Stretch" Name="topMenuDefault" VerticalAlignment="Top">
            <MenuItem Header="File">
                <MenuItem Header="New">
                    <MenuItem Header="Project/Solution...">
                        <MenuItem.Icon>
                            <Image Source="/Images/Icons/Icons.16x16.NewProjectIcon.png" Width="16" Height="16"></Image>
                        </MenuItem.Icon>
                    </MenuItem>
                    <MenuItem Header="File...">
                        <MenuItem.Icon>
                            <Image Source="/Images/Icons/Icons.16x16.NewDocumentIcon.png" Width="16" Height="16"></Image>
                        </MenuItem.Icon>
                    </MenuItem>
                </MenuItem>
                <MenuItem Header="Open">
                    <MenuItem Header="Project/Solution...">
                        <MenuItem.Icon>
                            <Image Source="/Images/Icons/Icons.16x16.OpenProjectIcon.png" Width="16" Height="16"></Image>
                        </MenuItem.Icon>
                    </MenuItem>
                    <MenuItem Header="File...">
                        <MenuItem.Icon>
                            <Image Source="/Images/Icons/Icons.16x16.OpenFileIcon.png" Width="16" Height="16"></Image>
                        </MenuItem.Icon>
                    </MenuItem>
                </MenuItem>
                <Separator></Separator>
                <MenuItem Header="Close" IsEnabled="False" x:Name="CloseMenuItem"></MenuItem>
                <MenuItem Header="Close Solution" IsEnabled="False" x:Name="CloseSolutionMenuItem"></MenuItem>
                <MenuItem Header="Exit" x:Name="ExitMenuItem" Click="exitMenuItem_Click"></MenuItem>
            </MenuItem>
            <MenuItem Header="Edit" />
            <MenuItem Header="View" />
            <MenuItem Header="Tools">
                <MenuItem Header="Extensions"></MenuItem>
                <MenuItem Header="Settings"></MenuItem>
            </MenuItem>
            <MenuItem Header="Help">
                <MenuItem Header="About" x:Name="AboutMenuItem" Click="AboutMenuItem_Click">
                    <MenuItem.Icon>
                        <Image Source="/Images/Icons/Icons.16x16.AboutIcon.png" Width="16" Height="16"></Image>
                    </MenuItem.Icon>
                </MenuItem>
            </MenuItem>
        </Menu>

        <ad:DockingManager x:Name="dockManager" Grid.Row="1">
            <ad:DocumentPane x:Name="DocumentPane">
            </ad:DocumentPane>
        </ad:DockingManager>
    </Grid>
</Window>
